package com.pangda.common.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Result {

    /**
     * 响应返回编码
     */
    @ApiModelProperty(value = "状态码")
    private int code = 200;

    /**
     * 响应返回信息
     */
    @ApiModelProperty(value = "状态信息")
    private String msg = "操作成功";

    private List<String> permissions;

    private List<String> roles;

    private Object user;

}
